package io.uouo.wechatbot.gp.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;

/**
 * 行情详细
 * @author wangwei
 * @date 2021/6/30
 */

public class HQDetail {

    /**
     * 当前价格
     */
    private BigDecimal p;

    /**
     * 五分钟涨跌幅（%）
     */
    private BigDecimal fm;

    /**
     * 最高价
     */
    private BigDecimal h;

    /**
     * 开盘价
     */
    private BigDecimal o;

    /**
     * 涨跌幅
     */
    private BigDecimal pc;

    private String name;

    @JSONField(name = "名称")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @JSONField(name = "当前价格")
    public BigDecimal getP() {
        return p;
    }

    public void setP(BigDecimal p) {
        this.p = p;
    }
    @JSONField(name = "五分钟涨跌幅（%）")
    public BigDecimal getFm() {
        return fm;
    }

    public void setFm(BigDecimal fm) {
        this.fm = fm;
    }
    @JSONField(name = "最高价")
    public BigDecimal getH() {
        return h;
    }

    public void setH(BigDecimal h) {
        this.h = h;
    }
    @JSONField(name = "开盘价")
    public BigDecimal getO() {
        return o;
    }

    public void setO(BigDecimal o) {
        this.o = o;
    }
    @JSONField(name = "涨跌幅")
    public BigDecimal getPc() {
        return pc;
    }

    public void setPc(BigDecimal pc) {
        this.pc = pc;
    }
}
